﻿using System.Collections.Generic;
using System;

namespace FlexPlatform.DataModel.Validation.Generic_ValidationRules
{
    public class Pilot_GreaterThanOrEqualTo : ValidationRuleBase
    {
  
        protected sealed override bool ValueIsOk(object proposedValue)
        {
            if (((IComparable)proposedValue).CompareTo(this.clsSpecificValue) < 0) //(proposedValue < this.clsSpecificValue)
            {
                return false;
            }

            else
            {
                return true;
            }
        }

    }
}
